package com.bgybmi.entity;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

public class BxDevice extends Model<BxDevice>{

	private static final long serialVersionUID = -503838622896045124L;//用于序列化和反序列化
	
	public static final BxDevice me = new BxDevice();
	
	private static final String tablename="bx_device";
	
	public List<BxDevice> listAllByParam(String paramField,String paramValue){
		return me.find(CommonStatic.listByParam(tablename,paramField),paramValue);
	}
	
}
